#ifndef MATHS_H
#define MATHS_H

#include "Vector3D.h"

#ifndef PI
#define PI 3.14159265358979323846
#endif

//namespace game {

typedef Vector3D Vector;
typedef double Scalar;
typedef double Angle;

//One dimensional mathematical structure
struct Point {
    Point()         {}
    Point(Vector v) : vPos(v)       {}
    Vector vPos;
};

//Two dimensional mathematical structure
struct Segment {

    Point* pPoint1;
    Point* pPoint2;
    
    Vector getVector()      { return pPoint2->vPos - pPoint1->vPos; }
    
};

//} //namespace game

#endif // MATHS_H
